package com.party.service.info;

/**
 * Created with IntelliJ IDEA.
 * User: beyond
 * Date: 14-9-18
 * Time: 下午10:37
 * To change this template use File | Settings | File Templates.
 */

import com.party.common.Page;
import com.party.model.UserInfo;

/**
 * 用户相关信息
 */
public interface InfoService {
    /**
     * 用户相关信息
     * 增删改查
     */
    public int addUserInfo(UserInfo userInfo);

    public int deleteUserInfoByPrimaryKey(Integer id);

    public int deleteExamByIds(String ids);

    public UserInfo getUserInfoByPrimaryKey(Integer id);

    public int updateUserInfoByPrimaryKey(UserInfo userInfo);

    /**
     * 获得用户相关信息数据列表（分页）
     * @param pageSize
     * @param pageNumber
     * @return
     */
    public Page getUserInfoList(UserInfo userInfo, int pageSize, int pageNumber);
}
